import request from '@/utils/request'

// 特殊情况调用开闸接口
export function getPageList(data) {
  return request({
    url: '/school/patrol/getPatrolPageList',
    method: 'post',
    data
  })
}

export function getSchoolPatrolById(id) {
  return request({
    url: '/school/patrol/getSchoolPatrol/' + id,
    method: 'get'
  })
}